package com.liao.badminton.mapper;

import com.liao.badminton.code.*;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import com.liao.badminton.entity.SystemSmsLog;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
* @author liaocheng
* @date 2024-10-31
* description:短信日志
*/
@Mapper
public interface SystemSmsLogMapper extends BaseMapper<SystemSmsLog> {
    int updateBy(SystemSmsLog systemSmsLog);
    int add(SystemSmsLog systemSmsLog);
    List<SystemSmsLog> findByPageParam(PageParam<SystemSmsLog> systemSmsLogPageParam);
    int countByPageParam(PageParam<SystemSmsLog> systemSmsLogPageParam);
    int deletes(@Param("ids") List<Long> ids);
    List<SystemSmsLog> findByIds(@Param("ids") List<Long> ids);
    void addBatch(List<SystemSmsLog> list);
    SystemSmsLog findById(@Param("id") Long id);
    List<SystemSmsLog> findByParam(@Param("param") SystemSmsLog param);
}
